home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Ham⁄GPS / NET%2FMac(2.3.63) Folder / NET⁄Mac(2.3.63) / •Text Capture docs next >
Text File  |  1993-12-16  |  5KB  |  73 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. ©1992 by James W. Walker, all rights reserved.
  8.  
  9. Text Capture FKEY is intended to capture styled text from the front window and put it on the clipboard.  It works by forcing the application or desk accessory to update the window, and “watching” as the text is redrawn.  This technique has certain side-effects and limitations:
  10.  
  11. •  Text that is displayed as bitmapped graphics, rather than as text, will not be captured.  You can’t tell when this is the case just by looking at the screen.  This would certainly be the case for text in a “paint” document, but other programs sometimes draw text into an “offscreen bitmap” and then copy the bitmap to the screen.
  12. •  Text is captured in the order that it is drawn, not in its order on the screen.  For example, a program might draw the text in the window from bottom to top, and then Text Capture will capture the lines in reverse order.
  13. •  Some programs, such as the Alarm Clock DA, may draw text beyond the bounds of the window.  I don’t know why.  Sometimes you may want to capture that text, sometimes not.  Therefore there is an option of whether to capture such text; see “Configuration” below.
  14. •  Text Capture cannot know the paragraph structure of the text it is copying.  Therefore it gives you two choices:  No line breaks, or a hard return at the end of each line.
  15. •  Some programs maintain a private clipboard, which is copied to or from the public clipboard at certain times.  This may result in removing the text or the style information that Text Capture puts on the clipboard.  See the discussion of settings in the Configuration section below.
  16.  
  17.  
  18. Installation
  19.  
  20. As with most FKEYs, there are several ways it can be installed.
  21.  
  22. •  Use ResEdit to paste the FKEY resource into the System file.  Not for the inexperienced or the faint of heart.
  23. •  Use a specialized FKEY installer to put it into the System file.
  24. •  Use a general resource opener, such as Suitcase, MasterJuggler, or Carpetbag, to open the file.  This is my favorite approach, as it does not modify the System file.  (Bias warning:  I am the author of Carpetbag.)
  25.  
  26. As I have supplied the FKEY, its resource ID number is 6, meaning that you would invoke it using Shift-Command-6.  But if you have other FKEYS, you might need to renumber something to avoid conflicts.
  27.  
  28. You can also execute FKEYs without a special installation step by using my shareware product OtherMenu.
  29.  
  30.  
  31. Configuration
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46. If you hold down caps-lock or control at the same time as the command-shift-whatever you use to invoke Text Capture, you will see this dialog that lets you change three settings.
  47. •  The “Capture text” setting determines how much text to capture.  The default is to capture the text in a selected rectangle.  When you invoke the FKEY, the cursor changes to cross-hairs, and you can use the mouse to drag out a rectangle.  This feature probably will not work well with script systems using right-to-left or double-byte characters.
  48. •  The “Separate lines with” setting determines whether a carriage return or a space comes after each line in a selection of multiple lines.
  49. •  The third setting, “Copy to private clipboard,” is optional, and will probably make programs that use private clipboards work with Text Capture.  But it may have a side effect of removing style information.  You might want to try both checking and not checking this box with your favorite programs, to see which works better.
  50.  
  51. The choices you make in the configuration dialog are stored in a file named “Text Capture 2.3 Settings”, which will be in your Preferences folder under System 7 or in your System Folder under System 6.
  52.  
  53.  
  54. Author’s Address
  55.  
  56. James W. Walker 
  57. 3200 Heyward Street
  58. Columbia, SC 29205
  59.  
  60. e-mail:
  61. CIS:  76367,2271
  62. America Online:  JWWalker
  63. Internet:  76367.2271@compuserve.com
  64.  
  65.  
  66. Distribution policy    
  67.  
  68. Text Capture may be distributed freely, provided that the software, accompanied by this documentation, is unchanged.  Text Capture may not be sold or offered for sale, or included with another software product offered for sale, except with the express written permission of the author.  Companies that distribute public domain/freeware/shareware software for profit are expressly prohibited from distributing Carpetbag.  This restriction does not apply to bulletin boards, commercial on-line services such as America Online, CompuServe and GEnie, and non-profit Macintosh user groups which hold regularly scheduled public meetings.
  69.  
  70.  
  71. Acknowledgements
  72.  
  73. Susan Lesch helped with testing and dialog design.  Phil Shapiro made a useful programming suggestion.